﻿namespace FFF.Test.Entity.FW.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.FW.View;       

	/// <summary>
    /// 登陆日志表展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(FWLoginLogEntity))] 
    public partial class FWLoginLogDto :  BaseEntityDto<Guid>
    {
		/// <summary>
        /// 用户登陆编码
        /// </summary>
		[Display(Name = "用户登陆编码", Description = "用户登陆编码")]
        [Column("UserCode")]
		[StringLength(256)]
        public string UserCode { get; set; }
        
		/// <summary>
        /// 用户登陆的IP
        /// </summary>
		[Display(Name = "用户登陆的IP", Description = "用户登陆的IP")]
        [Column("UserIP")]
		[StringLength(256)]
        public string UserIP { get; set; }
        
    }
    
    /// <summary>
    /// 登陆日志表新增时候的dto
    /// </summary>
	[AutoMap(typeof(FWLoginLogEntity))]
    [AutoMapFrom(typeof(ViewFWLoginLog))] 
    public partial class FWLoginLogCreateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 用户登陆编码
        /// </summary>
		[Display(Name = "用户登陆编码", Description = "用户登陆编码")]
        [Column("UserCode")]
		[StringLength(256)]
        public string UserCode { get; set; }
        
		/// <summary>
        /// 用户登陆的IP
        /// </summary>
		[Display(Name = "用户登陆的IP", Description = "用户登陆的IP")]
        [Column("UserIP")]
		[StringLength(256)]
        public string UserIP { get; set; }
        
    }
     
     /// <summary>
    /// 登陆日志表更新时候Dto
    /// </summary>
	[AutoMap(typeof(FWLoginLogEntity))]
    [AutoMapFrom(typeof(ViewFWLoginLog))] 
    public partial class FWLoginLogUpdateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 用户登陆编码
        /// </summary>
		[Display(Name = "用户登陆编码", Description = "用户登陆编码")]
        [Column("UserCode")]
		[StringLength(256)]
        public string UserCode { get; set; }
        
		/// <summary>
        /// 用户登陆的IP
        /// </summary>
		[Display(Name = "用户登陆的IP", Description = "用户登陆的IP")]
        [Column("UserIP")]
		[StringLength(256)]
        public string UserIP { get; set; }
        
    }
}
